<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head></head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /></meta>
<style type="text/css">
	*{
		margin: 0px;
		padding: 0px;
	}
	.maxBox{
		width: 1000px;
		margin:auto;
		height:auto;
		margin-top:0px;
		
	}
	.td_height{
	height:30px;
	}
	.riqi{ width:90px;text-align:right; display:inline-block;margin-right: 5px;}
	table tr td{text-align:center;}
	.danhao{ width:130px; text-align:left;display:inline-block;}
</style>
<body>
	<div class="maxBox">
	<center><h3 style="font-size:24px;">有棵树科技产品<?php if($result['fail_deal_way']==1){echo '退回';}elseif($result['fail_deal_way']==3){echo '报废';}else{echo '质检报告';}?>单</h3></center>
	
	
	
	<p style="text-align:right;"><span class="riqi">日  期 :</span><span class="danhao"><?php echo date('Y-m-d'); ?></span></p>
	<p style="text-align:right; margin-top:2px; margin-bottom:5px;"><span class="riqi">凭证单号 :</span><span class="danhao"><?php echo 'Y'.$evidence; ?></span></p>
	
	
	
	<table  border="1px solid red;" style="margin-top:5px;" cellpadding="0" cellspacing="0" width="1000px">
		<tr>
			<td class="td_height">序号</td>
			<td class="td_height">VMI预约单号</td>
			<td class="td_height">收货单号</td>
			<td class="td_height">计划员</td>
			<td class="td_height">SKU</td>
			<td class="td_height">中文名称</td>
			<td class="td_height">到货数量</td>
			<td class="td_height">入库数量</td>
			<td class="td_height">不合格数量</td>
			<td class="td_height">问题原因</td>
			<td class="td_height">备注</td>
		</tr>
	
		<tr>
			<td class="td_height"><?php echo 1; ?></td>
			<td><?php echo $result['purchaseorder_id']; ?></td>
			<td><?php echo $check['recieve_detail_id']; ?></td>
			<td><?php echo $result['operate_man']; ?></td>
			<td><?php echo $result['sku']; ?></td>
			<td><?php echo $result['sku_name']; ?></td>
			
			<!--<td><?php if($result['fail_deal_way']==1){echo $result['quantity'];}elseif($result['fail_deal_way']==3){echo $result['quantity'];}else{ echo $result['quantity'];}?></td>			
			<td><?php if($result['fail_deal_way']==1){echo 0;}elseif($result['fail_deal_way']==3){echo 0;}else{ echo $result['quantity'];}?></td>
			<td><?php if($result['fail_deal_way']==1){echo $result['quantity'];}elseif($result['fail_deal_way']==3){echo $result['quantity'];}else{ echo 0;}?></td>-->
			<td><?php echo $check['check_quantity']; ?></td>
			<td><?php echo $check['qualified_quantity']; ?></td>
			<td><?php echo $check['unquality_count']; ?></td>
			
			<td><?php echo $result['unqualified_reason']; ?></td>
			<td><?php echo $result['warehouse_remark']; ?></td>
		</tr>
		
	</table>
	<span style="float:left;margin-right:10px;margin-top:10px; margin-left:205px;">审核人:</span>
	<span style="float:right; margin-right:94px; margin-top:10px;">经办人: <?php echo $user_name;?>   </span>
	</div>
</body>






